-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(calendar-list): restrict calendar visibility toggle to checkbox only #6681
fix(calendar-list): restrict calendar visibility toggle to checkbox only #6681
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6681 +/- ##
============================================
+ Coverage 23.00% 28.78% +5.78%
- Complexity 475 950 +475
============================================
Files 252 294 +42
Lines 12112 14395 +2283
Branches 2310 2307 -3
============================================
+ Hits 2786 4144 +1358
- Misses 8999 9924 +925
Partials 327 327
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR. I tested it and it works.
I left some feedback below.
src/components/AppNavigation/CalendarList/PublicCalendarListItem.vue
Outdated
Show resolved
Hide resolved
a7138e2
to
de1a467
Compare
I was wondering about this too, thanks for you're quick response and feedback |
Previously, clicking anywhere on the calendar name would toggle its visibility, leading to accidental hiding of calendars. Now the visibility can only be toggled by clicking the checkbox/bullet icon. Fixes nextcloud#3027 Signed-off-by: Antonia Schwennesen <[email protected]>
The enabled state cannot be persisted in public views, so the toggle functionality should not be available. Remove click handler from bullet icon to prevent misleading interaction. Co-authored-by: Richard Steinmetz <[email protected]> Signed-off-by: Antonia Schwennesen <[email protected]>
de1a467
to
8fb5f97
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works.
Thank you very much for your contribution :)
/backport to stable5.1 |
/backport to stable5.0 |
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
Previously, clicking anywhere on the calendar name would toggle its visibility, leading to accidental hiding of calendars. Now the visibility can only be toggled by clicking the checkbox/bullet icon.
Fixes #3027